﻿@inherits ServiceStack.Razor.ViewPage<ServiceStack.Razor.Tests.DefaultViewFooResponse>
@using System
@using ServiceStack.Razor.Tests
@using ServiceStack.Common
@using ServiceStack.WebHost.Endpoints

<div>
    <h4>/Views/DefaultViewFoo</h4>
    The time is: @DateTime.Now
    <h4>Foo Was Here!</h4>
    <h4>He said: @Model.FooSaid</h4>

    <form method="POST">
        @Html.TextBox( "foo" )
        <button name="cmdGo" value="123">Go Button</button>
    </form>

    obob
    <button>Button out of form</button>
    
    <h2>DefaultViewFoo is executed on redirect</h2>
    <h3>@Model.FooSaid.ToUpper()</h3>
</div>
